<?php
class CronTestTask extends sfBaseTask
{
    protected function configure()
    {
        $this->namespace           = 'cron';
        $this->name                = 'test';
        $this->briefDescription    = 'Cron de test';
        $this->detailedDescription = 'Cron de test';
        $this->configuration = ProjectConfiguration::getApplicationConfiguration('frontend', 'dev', true);
    }

    protected function execute($arguments=array(), $options=array())
    {
        echo 'cron de test ' . date('d-m-Y H:i:s') . "\r\n";
    }
}
?>